<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>添加SQL</title>
<link href="html/css/css.css" rel="stylesheet" type="text/css" />
<script Language="JavaScript" src="html/js/functions.js"></script>
<script language="javascript" src="html/js/rlselectdate.js"></script>
<script language="javascript">


function CheckForm()
{
	if($('Name').value== '')
	{
		msg_box('广告名没有填写！');
		$('Name').focus();
		return false;
	}

	
	$('submit').disabled = true;
	$('submit').src = 'html/images/ajax.gif';
	return true;
	
}
</script>
</head>

<body>

<if $Msg>
<div id="msg"><img src="html/images/information.gif" width="16" height="16" align="absmiddle" /> [$Msg]</div>
</if>

<form action="" method="post" enctype="multipart/form-data" name="form" id="form" style="margin:0px" onsubmit="return CheckForm();">
<div class="form_box">
	<div class="header">
    <img src="html/images/ad_add.gif" width="16" height="16" align="absmiddle" />&nbsp;添加SQL语句
	</div>
    <div class="box">
    	<div class="text">
    	标题:
    	</div>
        <div class="input">
    		<input name="Name" type="text" id="Name"  />
			<br><img src="html/images/information.gif" width="16" height="16" align="absmiddle" />  用来说明位置！
       	</div>
        <div style="clear:both"></div>
    </div>
	 <div class="box">
    	<div class="text">
    	类别标识:
    	</div>
        <div class="input">
    		<input name="Mark" type="text" id="Mark"  />
       	</div>
        <div style="clear:both"></div>
    </div>

    
    	 <div class="box">
    	<div class="text">
    	排序:
    	</div>
        <div class="input">
    		<input name="Top" type="text" id="Top"  />
				<br><img src="html/images/information.gif" width="16" height="16" align="absmiddle" /> 数字越大越靠前
                </div>
        <div style="clear:both"></div>
    </div>
    
    
        <div class="box">
    	<div class="text">
    	显示状态:
    	</div>
        <div class="input">
            <select name="State" id="State">
            <option value="1">正常</option>
            <option value="-1">禁用</option>
            </select>
       	</div>
        <div style="clear:both"></div>
    </div>
    


	<div class="box">
    	<div class="text">
    	正常显示内容:
    	</div>
        <div class="input">
        
        <!--
        <input type="hidden" id="content" name="content" style="display:none" value="[@htmlspecialchars($articleinfo.content)]"/>
        <input type="hidden" id="content___Config" value="" style="display:none" />
                     
        <iframe id="content___Frame" src="editor/fck/editor/fckeditor.html?InstanceName=content&amp;Toolbar=Default" width="75%" height="200" frameborder="no" scrolling="no"></iframe>
        -->
        <textarea name="Content" style="height:100px;" id="Content"></textarea>
       	</div>
        <div style="clear:both"></div>
    </div>
    

</div>
<div class="form_box_bottom">
<input type="image" src="html/images/submit.gif" id="submit" align="absmiddle" border="0" title="保存" /></a>
<a href="javascript:history.go(-1);"><img src="html/images/msg_cancel.gif" align="absmiddle" border="0" title="返回" /></a>
</div>
</form>
</body>
</html>
